package com.lanchetech.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 订阅记录
 */
@ApiModel(value = "com-lanchetech-entity-SubscribeRecord")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SubscribeRecord implements Serializable {
    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 订阅用户
     */
    @ApiModelProperty(value = "订阅用户")
    private Long userId;

    /**
     * 订阅关联id
     */
    @ApiModelProperty(value = "订阅关联id")
    private Long relateId;

    /**
     * 订阅类型
     */
    @ApiModelProperty(value = "订阅类型")
    private Byte type;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    /**
     * 订阅客户端 0 微信小程序 1 APP
     */
    @ApiModelProperty(value = "订阅客户端 0 微信小程序 1 APP")
    private Byte subscribeClient;

    /**
     * 活动编号
     */
    @ApiModelProperty(value = "活动编号")
    private Long activityId;

    private static final long serialVersionUID = 1L;
}